python copy a 2D list

44

python copy a 2D list -

y = [row[:] for row in x]

Comments

Submit
0 Comments